// package-owner/pages/owner-setting/index.js
import { getUserInfo } from '../../../biztools/wex';
import { PACKAGE_OWNER_PAGE } from '../../../constants/route';
import { UserInfoUpdateMixins, PageOssMixins } from '../../../behaviors/page';
import { getPicFullPath } from '../../../common/utils';
Page({
    mixins: [UserInfoUpdateMixins, PageOssMixins],
    data: {
        userInfo: getUserInfo(),
        pageRouter: PACKAGE_OWNER_PAGE,
        picUrl: ''
    },
    onShow() {
        const { userInfo } = this.data;
        this.setData({ picUrl: getPicFullPath(userInfo.pic) });
    },
})